package com.ykdl.member.kid.beans;

import java.io.Serializable;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.ykdl.member.kid.models.FileMetas;

import net.wxxr.http.interfaces.IJsonParser;

public class Post_actorBean implements Serializable,IJsonParser{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private FileMetas avatar_file_meta ;
	private BabyProfileBean baby_profile ;
	private DoctorProfileBean profile;
	private int total_gold;
	private int total_xp;
	private int user_id;
	private int actor_id;
	private int actor_type;
	private String created_time ;
	private String display_name ;
	private String email ;
	private String phone ;
	private String level ;
	private String gender ;
	public FileMetas getAvatar_file_meta() {
		return avatar_file_meta;
	}
	public void setAvatar_file_meta(FileMetas avatar_file_meta) {
		this.avatar_file_meta = avatar_file_meta;
	}
	public BabyProfileBean getBaby_profile() {
		return baby_profile;
	}
	public void setBaby_profile(BabyProfileBean baby_profile) {
		this.baby_profile = baby_profile;
	}
	public DoctorProfileBean getProfile() {
		return profile;
	}
	public void setProfile(DoctorProfileBean profile) {
		this.profile = profile;
	}
	public int getTotal_gold() {
		return total_gold;
	}
	public void setTotal_gold(int total_gold) {
		this.total_gold = total_gold;
	}
	public int getTotal_xp() {
		return total_xp;
	}
	public void setTotal_xp(int total_xp) {
		this.total_xp = total_xp;
	}
	public int getUser_id() {
		return user_id;
	}
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}
	public int getActor_id() {
		return actor_id;
	}
	public void setActor_id(int actor_id) {
		this.actor_id = actor_id;
	}
	public int getActor_type() {
		return actor_type;
	}
	public void setActor_type(int actor_type) {
		this.actor_type = actor_type;
	}
	public String getCreated_time() {
		return created_time;
	}
	public void setCreated_time(String created_time) {
		this.created_time = created_time;
	}
	public String getDisplay_name() {
		return display_name;
	}
	public void setDisplay_name(String display_name) {
		this.display_name = display_name;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getLevel() {
		return level;
	}
	public void setLevel(String level) {
		this.level = level;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	@Override
	public IJsonParser parse(String json) throws Exception {
		// TODO Auto-generated method stub
		Gson   gson = null;
		if(null != json){
			GsonBuilder b = new GsonBuilder();
			gson  = b.create();
			return gson.fromJson(json, Post_actorBean.class);
		}
		return null;
	}

}
